package com.hs.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.Course;
import com.hs.sfzy.entity.Question;

import java.util.List;

public interface QuestionService {
    PageInfo<Question> page(Integer pageNum, Integer pageSize, String title);

    PageInfo<Question> pageForWx(Integer pageNum, Integer pageSize, Question question);

    void save(Question question);

    void deleteById(Integer id);

    void update(Question question);

    List<Question> findAllIDAndTitle();
}
